<?php
	class _default extends Controller{
		public function __construct(){
			parent::__construct();
			$this->setLayout("default");
			$this->addLayoutParam('app_title','PHP ZONES SYSTEM');
		}
		
		public function index($page='index'){
			$this->show('index');
		}
		
		public function error($title,$details=array()){
			$this->show("error");
		}	
		
		public function clear_cache(){
			recursiveDelete(PZ_APP_CACHE_DIR);
			zRedirect('pzsys');
		}	
	}
?>